package com.kmxd.ams.client.search.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 检索权限
 *
 * @author nickbi
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "检索权限")
public class SearchAuthVO implements Serializable {

  @Schema(description = "在线预览，有权限为1，没有权限为0")
  private Boolean onlineBrowser;

  @Schema(description = "原文浏览，有权限为1，没有权限为0")
  private Boolean browserFile;


  @Schema(description = "在线打印，有权限为1，没有权限为0")
  private Boolean onlinePrint;

  @Schema(description = "下载，有权限为1，没有权限为0")
  private Boolean download;

  @Schema(description = "下载源文件，有权限为1，没有权限为0")
  private Boolean downloadSource;

  @Schema(description = "现场借阅，有权限为1，没有权限为0")
  private Boolean liveRead;

  @Schema(description = "外借，有权限为1，没有权限为0")
  private Boolean lendOut;

  @Schema(description = "复制外发，有权限为1，没有权限为0")
  private Boolean copySend;

  @Schema(description = "摘录，有权限为1，没有权限为0")
  private Boolean excerpt;
}
